<!--卡片样式容器组件-->
<template>
  <a-card :bordered="false" :style="cusStyle" size="small">
    <slot></slot>
  </a-card>
</template>

<script>
export default {
  name: 'AntCard',
  props: {
    /**
     * 样式
     */
    cusStyle: {
      type: String,
      default: "height: 100%;",
    },
  },
  data () {
    return {
    }
  },
  created () {
  },
  mounted () {
  },
  beforeDestroy () {
  },
  methods: {

  }
}
</script>

<style lang="less" scoped>
::v-deep .ant-card-body {
  padding: 0px !important;
  height: 100% !important;
}

</style>
